package Handin_2;

import java.util.Scanner;

public class StringManipulatorTester {
	public static void main(String[] args){
		//Start a scanner:
		Scanner in = new Scanner(System.in);

		//Starts counters:
		int c_CC=0, c_OE=0, c_IFN=0;
		
		//Prompt for two strings and store them:
		System.out.println("For testing type FIRST and second");
		System.out.print("Enter first string(FIRST): ");
		String s1 = in.next();
		System.out.print("Enter second string(second): ");
		String s2 = in.next();
		
		//StringManipulator stringmachine = new StringManipulator(s1,s2);
		System.out.print("to CamelCase: ");		
		System.out.println(StringManipulator.toCamelCase(s1, s2));
		c_CC++;
		System.out.println("Expected: firstSecond");
		System.out.println("----------------------");
		
		System.out.print("odd or even?: ");
		System.out.println(StringManipulator.oddOrEvenLength(s1));
		c_OE++;
		System.out.println("Expected: 1");
		System.out.println("----------------------");
		
		System.out.print("initials: ");
		System.out.println(StringManipulator.initialsFromName(s1, s2));
		c_IFN++;
		System.out.println("Expected: F.S.");
		System.out.println("----------------------");
		
		System.out.println("+-----+---------+--------+--------+");
		System.out.println("+-----+CamelCase+Odd/even+initials+");
		System.out.println("+Use #+    "+c_CC+"    +   "+c_OE+"    +   "+c_IFN+"    +");
		System.out.println("+-----+---------+--------+--------+");
	
	}
}
